package net.myjung.hibernate;

import net.myjung.model.annotation.MdlAttribute;
import net.myjung.model.annotation.MdlClass;
import net.myjung.model.annotation.MdlElement;

@MdlClass(name = "Id")
@SuppressWarnings("serial")
public class HbnId extends HbnProperty {
	@MdlAttribute(name = "unsaved-value", type = "string")
	private String unsaved_value;
	@MdlElement(type = "net.myjung.hibernate.Generator")
	private HbnGenerator generator;

	public String getUnsaved_value() {
		return unsaved_value;
	}
	public void setUnsaved_value(String unsaved_value) {
		this.unsaved_value = unsaved_value;
	}
	public HbnGenerator getGenerator() {
		return generator;
	}
	public void setGenerator(HbnGenerator generator) {
		this.generator = generator;
	}
}